@border:1px solid;

*{
    padding:0;
    margin:0;
    box-sizing: border-box;
}
// 顶上灰色条
.ding{
    width:100%;
    height:27px;
    border-bottom:@border #ccc;
    background:#f7f7f7;
    .ding_neirong{
        width:970px;
        height:27px;
        // border:@border green;
        margin:0 auto;
        display:flex;
        justify-content: space-between;
        .ding_left{
            width:150px;
            height:27px;
            font-size: 13px;
            color:#444;
            line-height:27px;
            // border:@border blue;
        }
        .ding_right{
            width:450px;
            height:27px;
            font-size: 12px;
            font-family: 黑体;
            line-height:27px;
            text-align: center;
            // border:@border red;
            display:flex;
            justify-content: space-between;
            // &>div{
            //     width:75px;
            //     height:27px;
            //     text-align: center;
            //     color:#666;
            //     // border:@border blue;
            //     display:flex;
            //     .icon{
            //     width:8px;
            //     height:10px;
            //     position: relative;
            //     top:8px;
            //     left:3px;
            //     background-image: url(../images/aaaa.png);
            //     }    
            // }
            .ding_div1{
                width:75px;
                height:27px;
                text-align: center;
                color:#666;
                display:flex;
                // border:@border blue;
                .icon{
                    width:8px;
                    height:10px;
                    position: relative;
                    top:8px;
                    left:5px;
                    background-image: url(../images/aaaa.png);
                }  
            }
            .ding_div1{
                width:75px;
                height:27px;
                text-align: center;
                color:#666;
                display:flex;
                // border:@border blue;
                .icon{
                    width:8px;
                    height:10px;
                    position: relative;
                    top:8px;
                    left:5px;
                    background-image: url(../images/aaaa.png);
                }  
            }
            .ding_div2{
                width:85px;
                height:27px;
                text-align: center;
                color:#666;
                display:flex;
                // border:@border blue;
                .icon{
                    width:8px;
                    height:10px;
                    position: relative;
                    top:8px;
                    left:5px;
                    background-image: url(../images/aaaa.png);
                }  
            }
            .ding_div3{
                width:75px;
                height:27px;
                text-align: center;
                color:#666;
                display:flex;
                // border:@border blue;
                .icon{
                    width:8px;
                    height:10px;
                    position: relative;
                    top:8px;
                    left:5px;
                    background-image: url(../images/aaaa.png);
                }  
            }
            .ding_div4{
                width:75px;
                height:27px;
                text-align: center;
                color:#666;
                display:flex;
                // border:@border blue;
                .icon{
                    width:8px;
                    height:10px;
                    position: relative;
                    top:8px;
                    left:5px;
                    background-image: url(../images/aaaa.png);
                }  
            }
            .ding_div5{
                width:55px;
                height:27px;
                text-align: center;
                color:#666;
                display:flex;
                // border:@border blue;
                .icon{
                    width:8px;
                    height:10px;
                    position: relative;
                    top:8px;
                    left:5px;
                    background-image: url(../images/aaaa.png);
                }  
            }
            .ding_div6{
                width:75px;
                height:27px;
                text-align: center;
                color:#666;
                display:flex;
                // border:@border blue;
                .icon{
                    width:8px;
                    height:10px;
                    position: relative;
                    top:8px;
                    left:5px;
                    background-image: url(../images/aaaa.png);
                }  
            }
        }
    }
}
// top包含网页图标行,导航栏,图片栏
.top{
    width:970px;
    height:350px;
    // border:@border green;
    margin:0 auto;
    // 网页图标和搜索框
    .top_shang{
        width:970px;
        height:100px;
        // border:@border red;
        display:flex;
        justify-content:space-between;
        align-items: center;
        .pic{
            margin-top:40px;
            width:198px;
            height:100px;
            background-image: url(../images/aaaa.png);
            background-position:-9px 0px ;
        }
        .search-out{
            width:530px;
            height:42px;
            border:1px solid #ccc;
            display:flex;
            // background:#f1f1f1;
            background-image:linear-gradient(to top,#f1f1f1,#ffffff);
            justify-content:center;
            align-items: center;
            .search-in{
                width:520px;
                height:30px;
                // border:@border #ccc;
                // outline:6px double #ccc;
                display:flex;
                .text{
                    outline:none;
                    width:430px;
                    height:30px;
                    border:@border #a6a6a6;
                    // border:@border red;
                    border-right:none;
                    text-indent:5px;
                }
                .button{
                    outline:none;
                    width:100px;
                    height:30px;
                    background:#2f70d0;
                    border:@border #2f70d0;
                    font-size:20px;
                    color:white;
                }
            }
        }
    }
    // 导航栏
    .top_zhong{
        width:970px;
        height:27px;
        font-size:15px;
        border-bottom:2px solid #0266a3;
        display:flex;
        justify-content: flex-start;
        align-items: center;
        // 首页
        .index{
            width:60px;
            height:27px;
            line-height: 27px;;
            background:#0266a3;
            color:white;
            font-weight: bold;
            text-align: center;
            // border:1px solid red;
        }
        // 除首页外的其他导航栏
        .two{
            width:100px;
            height:27px;
            line-height: 27px;;
            color:#0266a3;
            text-align: center;
            font-weight: bold;
        }
    }
    // top下部分的三栏目
    .top_foot{
        width:970px;
        height:210px;
        margin-top:10px;
        // border:@border red;
        display:flex;
        justify-content: space-between;
        // 左边栏.商机市场
        .top_foot_left{
            width:200px;
            height:210px;
            // border:@border green;
            & > div{
                width:200px;
                height:30px;
                // border:@border red;
            }
            .one{
                width:200px;
                height:30px;
                line-height: 30px;
                background:#0266a3;
                color:white;
                font-weight: bold;
                text-indent: 20px;
                // border:@border red;
            }
            .two{
                width:200px;
                height:30px;
                line-height: 30px;
                color:#606060;
                background:#ebf0f6;
                display:flex;
                justify-content: flex-start;
                align-items: center;
                .icon1{
                    width:20px;
                    height:20px;
                    // border:1px solid red;
                    margin-left:8px;
                    margin-right:10px;
                    background-image:url(../images/aaaa.png);
                    background-position: -252px 4px;
                }
                .icon2{
                    width:20px;
                    height:20px;
                    // border:1px solid red;
                    margin-left:8px;
                    margin-right:10px;
                    background-image:url(../images/aaaa.png);
                    background-position: -275px 2px;
                }
                .icon3{
                    width:20px;
                    height:20px;
                    // border:1px solid red;
                    margin-left:8px;
                    margin-right:10px;
                    background-image:url(../images/aaaa.png);
                    background-position: -299px 4px;
                }
                .icon4{
                    width:20px;
                    height:20px;
                    // border:1px solid red;
                    margin-left:8px;
                    margin-right:10px;
                    background-image:url(../images/aaaa.png);
                    background-position: -330px 2px;
                }
                .icon5{
                    width:20px;
                    height:20px;
                    // border:1px solid red;
                    margin-left:8px;
                    margin-right:10px;
                    background-image:url(../images/aaaa.png);
                    background-position: -354px 2px;
                }
                .icon6{
                    width:20px;
                    height:20px;
                    // border:1px solid red;
                    margin-left:8px;
                    margin-right:10px;
                    background-image:url(../images/aaaa.png);
                    background-position: -381px 2px;
                }
            }
        }
        // 中间的图片栏
        .top_foot_center{
            width:520px;
            height:210px;
            // border:@border green;
            background-image: url(../images/aa_03.png);
        }
        // 右边栏,两个框
        .top_foot_right{
            width:230px;
            height:210px;
            // border:@border green;
            display:flex;
            flex-direction: column;
            justify-content: flex-start;
            // 右上
            .top_foot_right_top{
                width:230px;
                height:95px;
                // border:@border red;
                display:flex;
                flex-direction: column;
                justify-content: center;
                background:  #F7FAFF;
                .title{
                    width:230px;
                    height:30px;
                    line-height: 30px;
                    font-size: 14px;
                    text-indent: 20px;
                    font-weight: bold;
                    color:#666;
                    // border:@border blue;
                }
                .dazhong{
                    width:230px;
                    height:50px;
                    // border:@border green;
                    display:flex;
                    flex-direction: row;
                    justify-content: space-around;
                    .icon7{
                        width: 50px;
                        height: 50px;
                        // border:@border red;
                        background-image: url(../images/aaaa.png);
                        background-position:-203px 4px;
                    }
                    .jieshao{
                        width:160px;
                        height:40px;
                        line-height: 18px;
                        margin-top:5px;
                        font-size: 12px;
                        color:#444;
                        // border:@border blue;
                        span{
                            color:#666;
                            font-weight: bold;
                        }
                    }
                }
            }
            // 右下
            .top_foot_right_bottom{
                width:230px;
                height:95px;
                margin-top:20px;
                background:#F7F7F7;
                // border:@border red;
                display: flex;
                flex-direction: column;
                justify-content: center;
                .question{
                    width:230px;
                    height:30px;
                    line-height: 30px;
                    // border:@border green;
                    color:#999;
                    font-size: 15px;
                    text-align: center;
                }
                .zhong{
                    width:230px;
                    height:35px;
                    // border:@border green;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    color:#3f9ce0;
                    .icon8{
                        width:20px;
                        height:20px;
                        // border:@border red;
                        background-image: url(../images/aaaa.png);
                        background-position: -406px 0px ;
                    } 
                }
                .img{
                    width:88px;
                    height:30px;
                    // border:@border red;
                    margin: 0 auto;
                }
                
            }
        }
    }
}
// 身体包含三个大的块，建筑材料，儿童安全座椅，工艺美术品
.body{
    width:970px;
    height:1220px;
    // border:@border blue;
    margin:0 auto;
    // box1.建筑材料
    .box1{
        width:970px;
        height:398PX;
        // border:@border red;
        margin-top:15px;
        .JZCL{
            width:970px;
            height:36px;
            font-weight: bold;
            text-indent: 20px;
            line-height: 36px;
            // border:@border pink;
            background:#ECF1F7;
            border-top:2px solid #C3D7E4;
        }
        .box1_bottom{
            width:970px;
            height:350px;
            // border:@border yellow;
            margin-top:10px;
            display:flex;
            justify-content: space-between;
            // 左部
            .box1_left{
                width:730px;
                height:346px;
                border:@border #ccc;
                .box1_left_top,.box1_left_bottom{
                    width:710px;
                    height:160px;
                    // border:@border pink;
                    border-bottom: @border #ccc;
                    margin:15px auto;
                    display: flex;
                    justify-content: space-around;
                    // 用例
                    .item1{
                        width:327px;
                        height:142px;
                        // border:@border green;
                        display:flex;
                        justify-content: space-between;
                        // 用例左
                        .item1_left{
                            width:100px;
                            margin-right:10px;
                            // border:@border blue;
                            .img{
                                width:100px;
                                height:100px;
                                border:@border #cacaca;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                            }
                            .buy{
                                width:100px;
                                height:25px;
                                margin-top:15px;
                                text-align: center;
                                line-height: 25px;
                                color:white;
                                font-size: 18px;
                                background:#0a84E3;
                            }
                        }
                        // 用例右
                        .item1_right{
                            width:215px;
                            height:142px;
                            // border:@border lightcoral;
                            // 第一行标题
                            .one{
                                width:100%;
                                height:40px;
                                font-size: 14px;
                                line-height: 30px;
                                // border:@border lightcyan;
                            }
                            // 第二行描述
                            .two{
                                width:100%;
                                height:40px;
                                font-size: 13px;
                                line-height: 15px;
                                color:#863E01;
                                margin-left:5px;
                                // border:@border red;
                            }
                            // 第三行价格
                            .three{
                                width:140px;
                                height:40px;
                                // border:@border yellow;
                                display:flex;
                                justify-content: space-between;
                                align-items: center;
                                // 红色价格
                                .p1{
                                    font-size: 19px;
                                    color:#C50934;
                                    // font-weight:bold;
                                    // border:@border red;
                                    display: flex;
                                }
                                // 删除线价格
                                .p2{
                                    font-size:14px;
                                    color:#555;
                                    text-decoration: line-through;
                                }
                            }
                            // 第四行卖出多少
                            .four{
                                width:100%;
                                height:20px;
                                font-size: 14px;
                                span{
                                    font-size: 13px;
                                    color:#c50934;
                                }
                            }
                            // 券
                            .quan{
                                width: 14px;
                                height: 14px;
                                text-align: center;
                                line-height: 14px;
                                margin-top: 6px;
                                margin-left: 2px;
                                // width:18px;
                                // height:18px;
                                // text-align: center;
                                // line-height: 20px;
                                // margin-top: 3px;
                                color:white;
                                font-size: 12px;
                                background:#C81518;
                                border-radius: 2px;
                            }
                        }
                        
                    }
                }
                // 去掉外框的下边框
                .box1_left_bottom{
                    border-bottom: none;
                }
            }
            // 右部
            .box1_right{
                width:230px;
                height:346px;
                border:@border #ccc;
                // 建材资讯
                .zx{
                    width:100%;
                    height:30px;
                    line-height: 30px;
                    font-size: 14px;
                    text-indent: 10px;
                    font-weight: bold;
                    color:#4e4e4e;
                    background:#FBFBFB;
                    border-bottom:@border #ccc;
                }
                ul{
                    margin-top:13px;
                    display: flex;
                    flex-direction: column;
                    justify-content: flex-start;
                    list-style-type:square;
                    // 修改图标颜色
                    li{
                        width:230px;
                        height:25px;
                        font-size: 12px;
                        margin-left:25px;
                        // list-style-type:square;
                        // list-style: outside;
                        color:#cdcdcd;
                        // // 修改字体颜色
                        div{
                            width:220px;
                            height:25px;
                            color:#444;
                        }
                    }
                }
                
            }
        }
    }
    // box2：儿童安全座椅
    .box2{
        width:970px;
        height:378px;
        // border:@border red;
        // 上间距15px；
        margin-top:15px;
        // 儿童安全座椅那一行
        .ZY{
            width:970px;
            height:36px;
            line-height: 36px;
            font-weight: bold;
            text-indent: 20px;
            // border:@border pink;
            background:#ECF1F7;
            border-top:2px solid #C3D7E4;
        }
        .box2_bottom{
            width:970px;
            height:350px;
            // border:@border yellow;
            margin-top:10px;
            display:flex;
            justify-content: space-between;
            // 左部
            .box2_left{
                width:730px;
                height:350px;
                // border:@border pink;
                // 接口那一行
                .jiekou{
                    width:730px;
                    height:25px;
                    border-bottom:2px solid #00B0E7;
                    display:flex;
                    justify-content: space-between;
                    // 详情请点击
                    .xq{
                        width:100px;
                        height:25px;
                        line-height: 25px;
                        font-size: 14px;
                        font-weight: bold;
                        color:#1a66b3;
                    } 
                }
                .box2_left_bottom{
                    width:730px;
                    height:305px;
                    // margin-top:5px;
                    padding-top:5px;
                    border:@border #ccc;
                    border-top:none;
                    display:flex;
                    flex-direction: row;
                    justify-content: space-around;
                    // 用例2
                    .item2{
                        width:170px;
                        height:290px;
                        // border:@border green;
                        display: flex;
                        flex-direction:column;
                        justify-content: center;
                        align-items: flex-start;
                        // 用例2上面图片
                        .img3{
                            width:100%;
                            height:170px;
                            // border:@border pink;
                        }
                        // 用例2下部文字
                        .item2_bottom{
                            width:100%;
                            height:120px;
                            // border:@border red;
                            // display:flex;
                            // flex-direction: column;
                            // justify-content: center;
                            // align-items: flex-start;
                            // 第一行
                            .one{
                                width:100%;
                                height:35px;
                                line-height: 18px;
                                text-align: center;
                                font-size: 13px;
                                // border:@border red;
                                margin-top:0px;
                            }
                            // 所有灰色的
                            .two{
                                width:100%;
                                height:30px;
                                line-height: 30px;
                                font-size: 12px;
                                text-align: center;
                                color:gray;
                                // border:@border green;
                                // 带下划线的价格
                                .span1{
                                    text-decoration: line-through;
                                }
                                // 颜色红色的价格
                                .span2{
                                    font-size:14px;
                                    font-weight: bold;
                                    color:#C81518;
                                }
                            }
                        }
                    }
                }
            }
            // 右部
            .box2_right{
                width:230px;
                height:350px;
                margin-top:5px;
                // border:@border #ccc;
                // 右上
                .box2_right_top{
                    width:230px;
                    height:130px;
                    border:@border #cbcbcb;

                }
                // 右下
                .box2_right_bottom{
                    margin-top:10px;
                    width:230px;
                    height:180px;
                    // border:@border green;
                    
                }
            }
        }
    }
    // box3：工艺美术品
    .box3{
        width:970px;
        height:400px;
        // border:@border red;
        margin-top:15px;
        // 工艺美术品那一行
        .GY{
            width:970px;
            height:36px;
            line-height: 36px;
            font-weight: bold;
            text-indent: 20px;
            // border:@border pink;
            background:#ECF1F7;
            border-top:2px solid #C3D7E4;
        }
        .box3_bottom{
            width:970px;
            height:340px;
            // border:@border yellow;
            margin-top:10px;
            display:flex;
            justify-content: space-between;
            
            // 左部
            .box1_left{
                width:730px;
                height:346px;
                border:@border #cbcbcb;
                .box1_left_top,.box1_left_bottom{
                    width:710px;
                    height:160px;
                    // border:@border pink;
                    border-bottom: @border #ccc;
                    margin:15px auto;
                    display: flex;
                    justify-content: space-around;
                    // 用例1
                    .item1{
                        width:327px;
                        height:142px;
                        // border:@border green;
                        display:flex;
                        justify-content: space-between;
                        .item1_left{
                            width:100px;
                            margin-right:10px;
                            // border:@border blue;
                            .img{
                                width:100px;
                                height:100px;
                                border:@border #cbcbcb;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                            }
                            .buy{
                                width:100px;
                                height:25px;
                                margin-top:15px;
                                text-align: center;
                                line-height: 25px;
                                color:white;
                                font-size: 18px;
                                background:#0a84E3;
                            }
                        }
                        // 右部
                        .item1_right{
                            width:238px;
                            height:145px;
                            // border:@border lightcoral;
                            // 第一行
                            .one{
                                width:100%;
                                height:40px;
                                font-size: 14px;
                                line-height: 30px;
                                // border:@border lightcyan;
                            }
                            // 第二行
                            .two{
                                width:100%;
                                height:40px;
                                font-size: 13px;
                                line-height: 15px;
                                color:#863E01;
                                margin-left:5px;
                                // border:@border red;
                            }
                            // 第三行
                            .three{
                                width:140px;
                                height:40px;
                                // border:@border yellow;
                                display:flex;
                                justify-content: space-between;
                                align-items: center;
                                // 红色价格
                                .p1{
                                    font-size: 19px;
                                    color:#C50934;
                                    // font-weight:bold;
                                    // border:@border red;
                                    display: flex;
                                }
                                // 删除线价格
                                .p2{
                                    font-size:14px;
                                    color:gray;
                                    text-decoration: line-through;
                                }
                            }
                            // 第四行
                            .four{
                                width:100%;
                                height:20px;
                                font-size: 14px;
                                span{
                                    font-size: 13px;
                                    color:#C50934;
                                }
                            }
                            // 券
                            .quan{
                                width: 14px;
                                height: 14px;
                                text-align: center;
                                line-height: 14px;
                                margin-top: 6px;
                                margin-left: 2px;
                                // width:18px;
                                // height:18px;
                                // text-align: center;
                                // line-height: 20px;
                                // margin-top: 3px;
                                color:white;
                                font-size: 12px;
                                background:#C81518;
                                border-radius: 2px;
                            }
                        }
                        
                    }
                }
                // 去掉外框的下边框
                .box1_left_bottom{
                    border-bottom: none;
                }
            }
            // 右部
            .box3_right{
                width:230px;
                height:350px;
                // margin-top:10px;
                // border:@border #ccc;
                // 建材商社
                .box3_top{
                    width:100%;
                    height:30px;
                    line-height: 30px;
                    font-size: 14px;
                    font-weight: bold;
                    text-indent: 10px;
                    color:#444;
                    background:#f8f8f8;
                    border-bottom:@border #ccc;
                }
                // 图片那一行
                .box3_middle{
                    width:100%;
                    height:80px;
                    margin-top:15px;
                    // border:@border greenyellow;
                    display:flex;
                    justify-content: space-between;
                    .img{
                        width:100px;
                        height:76px;
                        margin-left:4px;
                        // border:@border red;
                    }
                    .txt{
                        width:118px;
                        height:80px;
                        line-height:18px;
                        font-size: 12px;
                        color:#777;
                        padding-top:3px;
                        // border:@border yellow;
                    }
                }
                // 下部
                .box3_bottom{
                    width:230px;
                    height:100px;
                    display:flex;
                    flex-direction: column;
                    margin-top:10px;
                    .item{
                        width:100%;
                        height:23px;
                        display:flex;
                        font-size:12px;
                        line-height:23px;
                        flex-direction: row;
                        // border:@border red;
                        // []内内容
                        .LT{
                            color:#999;
                        }
                        // []外文字
                        :last-child{
                            color:#444;
                            text-indent:5px;
                        }
                    }
                }
            }
        }
    }
}


// 最下面部分
.foot{
    width:970px;
    height:200px;
    // border:@border pink;
    margin:0 auto;
    // 友情链接部分
    .foot_top{
        width:970px;
        height:90px;
        // margin-top:20px;
        // border:@border pink;
        border-top:@border #ccc;
        display:flex;
        align-items: center;
        .foot_top-left{
            width:60px;
            height:50px;
            font-size:12px;
            color:#999;
            padding-top:4px;
            // border:@border red;
        }
        .foot_top-right{
            width:910px;
            height:50px;
            font-size:12px;
            line-height:25px;
            color:#666;
            // border:@border blue;
        }
    }
    .foot_bottom{
        width:970px;
        height:90px;
        border-top:2px solid #0a84E3;
        .neirong{
            width:750px;
            height:80px;
            margin:10px auto;
            color:#444;
            // border:@border red;
            // 第一行
            .one{
                width:700px;
                height:20px;
                margin:0 auto;
                // border:@border green;
                display:flex;
                >div{
                    width:70px;
                    height:18px;
                    font-size:12px;
                    text-align: center;
                    border-right:1px solid #ccc;
                }
                .ditu{
                    border-right:none !important;
                }
            }
            // 第二行
            .two{
                width:740px;
                height:20px;
                margin:3px auto;
                // border:@border green;
                display:flex;
                .two_1{
                    width:550px;
                    height:20px;
                    font-size:12px;
                    // text-align: center;
                    padding-left:10px;
                    border-left:1px solid #ccc;
                }
                .two_2{
                    width:183px;
                    height:18px;
                    font-size: 12px;
                    padding-left:10px;
                    border-left:1px solid #ccc;
                }
            }
            // 第三行
            .three{
                width:390px;
                height:18px;
                // border:@border green;
                display:flex;
                font-size: 12px;
                margin:0 auto;
                text-align: center;
                .three_two,.three_three{
                    border-left:@border #ccc;
                }
                .three_one{
                    width:205px;
                }  
                .three_two{
                    width:80px;
                }
                .three_three{
                    width:100px;
                }
            }
        }
    }
}